package com.tanhua.dubbo.api;

import com.tanhua.model.enums.SoundType;
import com.tanhua.model.mongo.UserSoundTime;

/**
 * @Description: test
 * @Create by: 熊孩子
 * @Date: 2021/12/12 16:20
 */
public interface UserSoundTimeApi {
    //根据语音类型查询语音剩余次数对象
    UserSoundTime queryUserSoundTime(Long userId, String date, SoundType soundType);
    //修改当前用户的语音接收次数
    void update(UserSoundTime userSoundTime);
    //保存当前用户的语音接收次数
    void save(UserSoundTime userSoundTime);
}

